package com.ruoyi.civil.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.springframework.stereotype.Component;

/**
 * 应急检查对象
 * @author 小赵
 * @date 2022-04-28
 */
@Component
public class CivilEnginneeringEmergencyCheck extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 编号 */
    private Long emergencyCheckId;

    /** 隧道名称 */
    @Excel(name = "隧道名称")
    private String tunnelName;

    /** 隧道编码 */
    @Excel(name = "隧道编码")
    private Long tunnelId;

    /** 道路名称 */
    @Excel(name = "道路名称")
    private String roadName;

    /** 道路编码 */
    @Excel(name = "道路编码")
    private Long roadId;

    /** 养护机构 */
    @Excel(name = "养护机构")
    private String maintenanceOrganization;

    /** 上次检查日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "上次检查日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date lastInspectionDate;

    /** 本次检查日期 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "本次检查日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date inspectionDate;

    /** 里程桩号 */
    @Excel(name = "里程桩号")
    private String mileageNumber;

    /** 设施名称 */
    @Excel(name = "设施名称")
    private String facilityName;

    /** 检查位置 */
    @Excel(name = "检查位置")
    private String defectLocation;

    /** 检查内容 */
    @Excel(name = "检查内容")
    private String examinationContent;

    /** 状况描述 */
    @Excel(name = "状况描述")
    private String positionDescribe;

    /** 状况值 */
    @Excel(name = "状况值")
    private Long positionNumber;

    /** 上传图片 */
    @Excel(name = "上传图片")
    private String picture;

    /** 检查人员 */
    @Excel(name = "检查人员")
    private String inspection;

    /** 记录人 */
    @Excel(name = "记录人")
    private String record;

    public void setEmergencyCheckId(Long emergencyCheckId)
    {
        this.emergencyCheckId = emergencyCheckId;
    }

    public Long getEmergencyCheckId()
    {
        return emergencyCheckId;
    }
    public void setTunnelName(String tunnelName)
    {
        this.tunnelName = tunnelName;
    }

    public String getTunnelName()
    {
        return tunnelName;
    }
    public void setTunnelId(Long tunnelId)
    {
        this.tunnelId = tunnelId;
    }

    public Long getTunnelId()
    {
        return tunnelId;
    }
    public void setRoadName(String roadName)
    {
        this.roadName = roadName;
    }

    public String getRoadName()
    {
        return roadName;
    }
    public void setRoadId(Long roadId)
    {
        this.roadId = roadId;
    }

    public Long getRoadId()
    {
        return roadId;
    }
    public void setMaintenanceOrganization(String maintenanceOrganization)
    {
        this.maintenanceOrganization = maintenanceOrganization;
    }

    public String getMaintenanceOrganization()
    {
        return maintenanceOrganization;
    }
    public void setLastInspectionDate(Date lastInspectionDate)
    {
        this.lastInspectionDate = lastInspectionDate;
    }

    public Date getLastInspectionDate()
    {
        return lastInspectionDate;
    }
    public void setInspectionDate(Date inspectionDate)
    {
        this.inspectionDate = inspectionDate;
    }

    public Date getInspectionDate()
    {
        return inspectionDate;
    }
    public void setMileageNumber(String mileageNumber)
    {
        this.mileageNumber = mileageNumber;
    }

    public String getMileageNumber()
    {
        return mileageNumber;
    }
    public void setFacilityName(String facilityName)
    {
        this.facilityName = facilityName;
    }

    public String getFacilityName()
    {
        return facilityName;
    }
    public void setDefectLocation(String defectLocation)
    {
        this.defectLocation = defectLocation;
    }

    public String getDefectLocation()
    {
        return defectLocation;
    }
    public void setExaminationContent(String examinationContent)
    {
        this.examinationContent = examinationContent;
    }

    public String getExaminationContent()
    {
        return examinationContent;
    }
    public void setPositionDescribe(String positionDescribe)
    {
        this.positionDescribe = positionDescribe;
    }

    public String getPositionDescribe()
    {
        return positionDescribe;
    }
    public void setPositionNumber(Long positionNumber)
    {
        this.positionNumber = positionNumber;
    }

    public Long getPositionNumber()
    {
        return positionNumber;
    }
    public void setPicture(String picture)
    {
        this.picture = picture;
    }

    public String getPicture()
    {
        return picture;
    }
    public void setInspection(String inspection)
    {
        this.inspection = inspection;
    }

    public String getInspection()
    {
        return inspection;
    }
    public void setRecord(String record)
    {
        this.record = record;
    }

    public String getRecord()
    {
        return record;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("emergencyCheckId", getEmergencyCheckId())
            .append("tunnelName", getTunnelName())
            .append("tunnelId", getTunnelId())
            .append("roadName", getRoadName())
            .append("roadId", getRoadId())
            .append("maintenanceOrganization", getMaintenanceOrganization())
            .append("lastInspectionDate", getLastInspectionDate())
            .append("inspectionDate", getInspectionDate())
            .append("mileageNumber", getMileageNumber())
            .append("facilityName", getFacilityName())
            .append("defectLocation", getDefectLocation())
            .append("examinationContent", getExaminationContent())
            .append("positionDescribe", getPositionDescribe())
            .append("positionNumber", getPositionNumber())
            .append("picture", getPicture())
            .append("inspection", getInspection())
            .append("record", getRecord())
            .toString();
    }
}
